// 页面数据
export const useWebData = () => {
  const listData = Object.freeze([
    {
      id: 1,
      label: "基础用法",
      list: [
        {
          id: 1
        }
      ]
    },
    {
      id: 2,
      label: "选择类型",
      list: [
        {
          id: 1,
          type: "circle"
        },
        {
          id: 2,
          type: "circle2"
        },
        {
          id: 3,
          type: "circle3"
        },
        {
          id: 4,
          type: "circle4"
        },
        {
          id: 5,
          type: "circle5"
        },
        {
          id: 6,
          type: "circle6"
        }
      ]
    },
    {
      id: 3,
      label: "自定义大小",
      list: [
        {
          id: 1,
          type: "circle",
          size: "24px"
        },
        {
          id: 2,
          type: "circle",
          size: "32px"
        }
      ]
    },
    {
      id: 4,
      label: "自定义颜色",
      list: [
        {
          id: 1,
          type: "circle",
          color: "#409eff"
        },
        {
          id: 2,
          type: "circle",
          color: "#f56c6c"
        }
      ]
    },
    {
      id: 5,
      label: "自定义图标",
      list: [
        {
          id: 1,
          icon: "icon-Danger",
          color: "#f56c6c"
        },
        {
          id: 2,
          icon: "icon-baseline-close-px",
          color: "#e6a23c"
        }
      ]
    },
    {
      id: 6,
      label: "自定义文本",
      list: [
        {
          id: 1,
          text: "加载中..."
        },
        {
          id: 2,
          text: "正在加载..."
        }
      ]
    }
  ]);
  return { listData };
};
